@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  // .filter-item {
  //   display: inline-block;
  //   vertical-align: middle;
  //   margin-bottom: 10px;
  // }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}


//main-container全局样式
.app-container {
  padding: 10px;
}

.components-container {
  position: relative;
  margin: 30px 50px;
}
.el-table__body-wrapper {
  position: relative;
  overflow: auto;
}
.el-table tr {
  height: 46px;
  background-color: #fff;
}
#middle {
  position: absolute;
  top: 160px;
  bottom: 70px;
  overflow: auto;

// z-index:90;
  width: calc(100% - #{$sideBarWidth+20px});
  background: #fff;
}

#middle .tableBox {
  padding-right: 10px;
  padding-left: 10px;
}
#middle .tableBox .el-table--border {
  position: absolute;
  top: 11px;
  right: 10px;
  bottom: 10px;
  left: 11px;
  width: calc(100% - 20px);
}
#middle .tableBox01 {
  padding-right: 10px;
  padding-left: 10px;
}
#middle .tableBox01 .el-table--border {
  position: absolute;
  top: 60px;
  right: 10px;
  bottom: 10px;
  left: 11px;
  width: calc(100% - 20px);
}

#middle.bottom10 {
  bottom: 10px;
}
@media screen and (max-width: 1366px) {
  #middle {
    position: absolute;
    bottom: 70px;

// top:200px;
    // z-index: 90;
    width: calc(100% - #{$sideBarWidth+20px});
  }
}

#middle_01 {
  position: absolute;
  top: 160px;
  bottom: 10px;

// z-index: 90;
  overflow: auto;
  width: calc(100% - 230px);
  background: #fff;
}
#middle_01 .tableBox {
  padding-right: 10px;
  padding-left: 10px;
}
#middle_01 .tableBox .el-table--border {
  position: absolute;
  top: 11px;
  right: 10px;
  bottom: 10px;
  left: 11px;
  width: calc(100% - 20px);
}
#middle_01.bottom10 {
  bottom: 10px;
}

@media screen and (max-width: 1366px) {
  #middle_01 {
    position: absolute;
    bottom: 10px;

// top:200px;
    // z-index: 90;
    width: calc(100% - #{$sideBarWidth+20px});
  }
}
#middle_02 {
  position: absolute;
  top: 96px;
  bottom: 70px;

// z-index: 90;
  overflow: auto;
  width: calc(100% - #{$sideBarWidth+20px});
  background: #fff;
}
#middle_02 .tableBox {
  padding-right: 10px;
  padding-left: 10px;
}
#middle_02 .tableBox .el-table--border {
  position: absolute;
  top: 11px;
  right: 10px;
  bottom: 10px;
  left: 11px;
  width: calc(100% - 20px);
}
@media screen and (max-width: 1366px) {
  #middle_02 {
    position: absolute;
    top: 96px;
    bottom: 70px;

// z-index: 90;
    overflow: auto;
    width: calc(100% - #{$sideBarWidth+20px});
    background: #fff;
  }
}
#middle_03 {
  position: absolute;
  top: 96px;
  bottom: 10px;
  overflow: auto;
  width: calc(100% - #{$sideBarWidth+20px});
}
@media screen and (max-width: 1366px) {
  #middle_03 {
    position: absolute;
    top: 96px;
    bottom: 10px;
    overflow: auto;
    width: calc(100% - #{$sideBarWidth+20px});
  }
}
#middle_04 {
  position: absolute;
  top: 160px;
  bottom: 10px;
  overflow: auto;
  width: calc(100% - #{$sideBarWidth+20px});
  background: #fff;
}
#middle_04 .tableBox {
  padding-right: 10px;
  padding-left: 10px;
}
#middle_04 .tableBox .el-table--border {
  position: absolute;
  top: 11px;
  right: 10px;
  bottom: 10px;
  left: 11px;
  width: calc(100% - 20px);
}
@media screen and (max-width: 1366px) {
  #middle_04 {
    position: absolute;
    top: 96px;
    bottom: 10px;
    overflow: auto;
    width: calc(100% - #{$sideBarWidth+20px});
    background: #fff;
  }
}
// 左侧项目栏收起时样式
.hideSidebar {
  #middle {
    position: absolute;
    top: 160px;
    bottom: 70px;
    overflow: auto;
    width: calc(100% - 74px);
    background: #fff;
  }

  #middle .tableBox {
    padding-right: 10px;
    padding-left: 10px;
  }
  #middle .tableBox .el-table--border {
    position: absolute;
    top: 11px;
    right: 10px;
    bottom: 10px;
    left: 11px;
    width: calc(100% - 20px);
  }
  #middle.bottom10 {
    bottom: 10px;
  }
  @media screen and (max-width: 1366px) {
    #middle {
      position: absolute;
      bottom: 70px;

// top:200px;
      // z-index: 90;
      width: calc(100% - 74px);
    }
  }
  @media screen and (max-width: 993px) {
    #middle {
      position: absolute;
      bottom: 70px;

// top:200px;
      // z-index: 90;
      width: calc(100% - 20px);
    }
    .foot-wrapper {
      position: absolute;
      bottom: 10px;
      z-index: 100;
      display: flex;
      align-items: center;
      width: calc(100% - 20px) !important;
      height: 50px;
      padding: 0 10px;
      background: #f8f8f8;
    }
  }
  #middle_01 {
    position: absolute;
    top: 160px;
    bottom: 10px;
    overflow: auto;
    width: calc(100% - 74px);
    background: #fff;
  }
  #middle_01 .tableBox {
    padding-right: 10px;
    padding-left: 10px;
  }
  // #middle_01 .tableBox .el-table--border {
  //   position: absolute;
  //   top: 11px;
  //   right: 10px;
  //   bottom: 10px;
  //   left: 11px;
  //   width: calc(100% - 20px);
  // }
  #middle_01.bottom10 {
    bottom: 10px;
  }
  @media screen and (max-width: 1366px) {
    #middle_01 {
      position: absolute;
      bottom: 10px;

// top:200px;
      z-index: 90;
      width: calc(100% - 74px);
    }
  }
  .foot-wrapper {
    position: absolute;
    bottom: 10px;
    z-index: 100;
    display: flex;
    align-items: center;
    width: calc(100% - 74px);
    height: 50px;
    padding: 0 10px;
    background: #f8f8f8;
  }
  #middle_02 {
    position: absolute;
    top: 96px;
    bottom: 70px;
    overflow: auto;
    width: calc(100% - 74px);
    background: #fff;
  }
  @media screen and (max-width: 1366px) {
    #middle_02 {
      position: absolute;
      top: 96px;
      bottom: 70px;
      overflow: auto;
      width: calc(100% - 74px);
      background: #fff;
    }
  }
  #middle_03 {
    position: absolute;
    top: 96px;
    bottom: 10px;
    overflow: auto;
    width: calc(100% - 74px);
  }
  @media screen and (max-width: 1366px) {
    #middle_03 {
      position: absolute;
      top: 96px;
      bottom: 10px;
      overflow: auto;
      width: calc(100% - 74px);
    }
  }
  #middle_04 {
    position: absolute;
    top: 96px;
    bottom: 10px;
    overflow: auto;
    width: calc(100% - 74px);
    background: #fff;
  }
  @media screen and (max-width: 1366px) {
    #middle_04 {
      position: absolute;
      top: 96px;
      bottom: 10px;
      overflow: auto;
      width: calc(100% - 74px);
      background: #fff;
    }
  }
}

.pagination-container {
  position: fixed;
  bottom: 10px;
  z-index: 100;
  width: calc(100% - 200px);
  height: 60px;
  padding: 15px;
  background: #f8f8f8;
}

.text-center {
  text-align: center;
}

.sub-navbar {
  position: relative;
  width: 100%;
  height: 50px;
  padding-right: 20px;
  line-height: 50px;
  text-align: right;
  background: linear-gradient(
  90deg,
  rgba(32, 182, 249, 1) 0%,
  rgba(32, 182, 249, 1) 0%,
  rgba(33, 120, 241, 1) 100%,
  rgba(33, 120, 241, 1) 100%
  );
  transition: 600ms ease position;

  .subtitle {
    color: #fff;
    font-size: 20px;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}
// .filter-container{
//   height: 60px;
// }
.filter-container .filter-item {
  margin-right: 10px;
}
.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;
  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding: 10px;
  background: #fff;

  .filter-item {
    display: inline-block;
    // vertical-align: middle;
  }
  .filter-item_span {
    font-size: 14px;
  }
}
.filter-container .form-item {
  display: inline-block;
  margin: 10px 0 10px 15px;
  font-size: 0;
  vertical-align: top;
}
//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}
.el-card box-card is-always-shadow {
  margin-bottom: 20px;
}
.el-card.is-always-shadow,
.el-card.is-hover-shadow:focus,
.el-card.is-hover-shadow:hover {
  margin-bottom: 0;
}
.fenyeBox {
  position: relative;
}
.dialogTitle {
  padding-left: 10px;
  margin-bottom: 20px;
  border-left: 4px solid #409eff;
}
.tableLeft .el-table .cell {
  text-align: left;
}
.abc div.cell {
  text-align: left;
}
.foot-wrapper {
  position: absolute;
  bottom: 10px;
  z-index: 100;
  display: flex;
  align-items: center;
  width: calc(100% - 230px);
  height: 50px;
  padding: 0 10px;
  background: #f8f8f8;
}
.el-pager li {
  display: inline-block;
          box-sizing: border-box;
  min-width: 35.5px;
  height: 28px;
  padding: 0 4px;
  margin: 0 5px;
  font-size: 13px;
  line-height: 28px;
  text-align: center;
  vertical-align: top;
  background: #fff;
  cursor: pointer;

  -webkit-box-sizing: border-box;
}
.el-pagination .btn-prev,
.el-pagination .btn-next {
  margin: 0 5px;
  color: #303133;
  background: center center no-repeat;
  background-color: #fff;
  background-size: 16px;
  cursor: pointer;
}
.mar_3 {
  margin: 0 5px;
}
.mar_right {
  margin-right: 10px;
}
.item i {
  font-size: 14px;
}
.svg-icon {
  overflow: hidden;
  width: 14px !important;
  height: 14px !important;
  vertical-align: -.15em;

  fill: currentColor;
}

.el-image__error {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #c0c4cc;
  font-size: 14px;
  vertical-align: middle;
  background: none;

  -webkit-box-align: center;
  -webkit-box-pack: center;
  -ms-flex-align: center;
  -ms-flex-pack: center;
}
// 筛选弹出框
.listfilter_item {
  display: flex;
  align-items: center;
  margin-right: 10px;
  margin-bottom: 10px;
  /* width: 320px; */
}
.listfilter_item_span {
  width: 120px;
  text-align: right;
}
.listfilter_item_span01 {
  width: 80px;
  text-align: right;
}
.listfilter_item_span90 {
  width: 90px;
  text-align: right;
}
.listfilter_item_span100 {
  width: 100px;
  text-align: right;
}
.listfilter_item_span02 {
  width: 60px;
}
.el-button--mini {
  padding: 7px 15px;
  font-size: 12px;
  border-radius: 3px;
}
.mar_left10 {
  margin-left: 10px;
}
.mar_right10 {
  margin-right: 10px;
}
.mar_bottom10 {
  margin-bottom: 10px;
}
.mar_left30 {
  margin-left: 30px;
}
.mar_top10 {
  margin-top: 10px;
}
.mar_x10 {
  margin: 0 10px;
}
.between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.Centered {
  display: flex;
  justify-content: center;
  align-items: center;
}
.Centered_x {
  display: flex;
  align-items: center;
}

.between_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.between_bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.Centeredleft {
  display: flex;
  justify-content: left;
  align-items: center;
}
.Centeredright {
  display: flex;
  justify-content: right;
  align-items: center;
}
// 上传图片的样式
.el-image img {
  width: 100%;
  height: 146px !important;
}
.el-submenu .el-menu-item {
  padding-left: 60px !important;
}
ul,
li {
  list-style: none;
}

.details_list li {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 10px 0;
}
.details_list li label {
  display: inline-block;
  min-width: 80px;
  text-align: left;
}
// 详情样式
.header_item {
  margin-bottom: 8px;
  font-size: 14px;
}
.header_item_row {
  display: flex;
  align-items: flex-start;
}
.header_item span {
  display: inline-block;
}

.header_item_lable {
  display: inline-block;
  width: 110px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.header_item_lable80 {
  display: inline-block;
  width: 80px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.header_item_lable90 {
  display: inline-block;
  width: 90px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
// 弹出框样式
.el-dialog__header {
  padding: 14px 41px 14px 21px; 
  line-height: 1;
  background-color: #f8f8f8;
  border-radius: 10px  10px 0px 0px;
}
.el-dialog__body {
  padding: 10px 20px !important;
  color: #1890ff;
  font-size: 14px;
  word-break: break-all;
}
.el-dialog__footer {
          box-sizing: border-box;
  padding: 10px 20px !important;
  padding-top: 0 !important;
  text-align: right;

  -webkit-box-sizing: border-box;
}
// 导入按钮弹框
.btn_download {
  padding-bottom: 10px;
  padding-left: 43px;
}
.btn_Import {
  text-align: center;
}
//修复谷歌浏览器下table组件border错位问题
body .el-table th.gutter {
  display: table-cell !important;
}
.titeltop {
  padding: 0 20px;
  line-height: 56px;
  background: #fff;
}

//修复谷歌浏览器下table组件最后一列出现空白列
.el-table--small th,
.el-table--small td  {
  padding: 0 !important;
}

.text_left{
  display: block;
  text-align: left;
}


// table顶部按钮组
.typegroup{
  height: 60px;
  padding: 0px 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}